package com.pengli.mytools.ui;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.pengli.mytools.MyApplication;
import com.pengli.mytools.R;
import com.pengli.mytools.utils.jsoup.JsoupUtil;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SettingActivity extends AppCompatActivity {
    private Context context;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);

        context = getApplicationContext();

        ButterKnife.bind(this);



    }

    @OnClick(R.id.quit)
    public void click(View view){
        switch (view.getId()){
            case R.id.quit:
                MyApplication.getInstance().exit();
                break;
        }

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

    }
}
